* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
  position: relative;
}
.container {
  max-width: 750px;
  margin: 0 auto;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}
.header {
  position: relative;
}
.header .banner-img {
  width: 100%;
  display: block;
}
.main-layout {
  width: 100%;
  background: url(../image/bg.png) no-repeat center top;
  background-size: cover;
  flex: 1;
  height: calc(100vh - 360px);
  position: relative;
}
.sidebar {
  width: 50px;
  height: 100%;
  padding-bottom: 30px;
  overflow-y: scroll;
  position: relative;
  z-index: 30;
}
.tab-item {
  width: 100%;
  margin: 0.35rem 0;
  border-radius: 0 16px 16px 0;
}
.tab-item p{
  width: 35px;
  height: 149px;
  background-image: url("../image/tab.png");
  background-repeat: no-repeat;
  background-size: 85px 897.5px;
  border-radius: 0 16px 16px 0;
}
.tab-item:nth-child(1) p{
  background-position: right 0;
}
.tab-item:nth-child(1).active p{
  background-position: left 0;
}
.tab-item:nth-child(2) p{
  background-position: right -150px;
}
.tab-item:nth-child(2).active p{
  background-position: left -150px;
}
.tab-item:nth-child(3) p{
  background-position: right -300px;
}
.tab-item:nth-child(3).active p{
  background-position: left -300px;
}
.tab-item:nth-child(4) p{
  background-position: right -450px;
}
.tab-item:nth-child(4).active p{
  background-position: left -450px;
}
.tab-item:nth-child(5) p{
  background-position: right -600px;
}
.tab-item:nth-child(5).active p{
  background-position: left -600px;
}
.tab-item:nth-child(6) p{
  background-position: right -750px;
}
.tab-item:nth-child(6).active p{
  background-position: left -750px;
}
.tab-item.active{
  position: relative;
}
.tab-item.active:before {
  width: 35px;
  height: 99%;
  border-radius: 0 16px 16px 0;
  box-shadow: 0.02rem 0.02rem 28px 0px rgba(134, 189, 180, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.tab-item.active:after{
  width: 0.48rem;
  height: 0.48rem;
  background: url(../image/flower.png) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  right: 0.3rem;
  top: -0.15rem;
  content: '';
  z-index: 31;
}
/*内容*/
.content-area {
  padding-bottom: 30px;
  margin: 0.3rem 0;
  position: absolute;
  right: 15px;
  left: 50px;
  top: 0;
  bottom:0;
  z-index: 20;
  overflow-y: scroll;
  overflow-x: hidden;
}
.unit {
  width: 100%;
  position: absolute;
  top: 0;
  right: -150%;
  z-index: 1;
}
.unit.active {
  right: 0;
}
.banner_box{
  width: 100%;
  height: 310px;
  position: relative;
  border-radius: 8px 8px 0 0;
}
.banner_box .img_banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}
/*banner*/
.swiper-container{
  width: 100%;
  height: 100%;
  margin: 20px auto;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  line-height: 300px;
}
.swiper-pagination{
  width: 37px;
  height: 20px;
  color: #fff;
  background: rgba(0,0,0,0.6);
  border-radius: 25px;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 3px;
  position: absolute;
  left: auto;
  right: 15px;

}
.video{
  width: 67px;
  height: 23px;
  background: linear-gradient( -270deg, #68E4C8 0%, #36DDD5 54%, #11D7D8 100%);
  border-radius: 13px 13px 13px 13px;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
}
.video_icon{
  width: 18px;
  height: 18px;
  position: absolute;
  top: 2px;
  left: 8px;
}
.msg_box{
  background: url(../image/img_fanye.png) no-repeat right bottom #fff;
  background-size: 55px 53px;
  padding: 6px 15px 40px;
  border-radius: 0 0 8px 8px;
}
.unit_tit {
  width: 100%;
  margin-bottom: 7px;
  display: block;
}
.unit .tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.unit .tag{
  color: #1BB3A4;
  background: #E8F7F5;
  font-size: 10px;
  padding: 4px 7px;
  margin-right: 0.1rem;
  border-radius: 0.1rem;
}
.unit .tag:last-child{
  margin-right: 0;
}
.unit .description {
  line-height: 1.6;
  padding-top: 8px;
  color: #347770;
  font-size: 13px;
  text-indent: 2em;
  border-top: 1px dashed #CFE0DE;
}
.img_flower{
  width: 26.13%;
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-65%);
  z-index: 23;
}
/* 音频最小化样式 */
.video_yp audio {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.video_yp {
  position: relative;
  width: 100%;
  height: 100%;
}
.video_yp .img_pinpu{
  width: 22px;
  height: 10px;
  position: absolute;
  top: 7px;
  left: 36px;
}
/* Web Audio 频谱画布 音频频谱样式 */
.visualizer {
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  width: 25px;
  height: 14px;
  z-index: 5;
  pointer-events: none;
}
.audio-canvas {
  width: 100%;
  height: 100%;
  display: block;
}